export {}
abstract class Animal {
    eat (food:string){
        console.log('咕噜咕噜吃东西',food);
    }
    abstract run(distace:Number) :void
}

class Dog extends Animal{
    run(distace: Number): void {
        throw new Error("Method not implemented.");
    }
    
}